| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | var assert = require('chai').assert, |
||
| 31 | it('toJSON', function(){ |
||
| 32 | var data = { |
||
| 33 | spatial: { |
||
| 34 | original: 'A Place' |
||
| 35 | }, |
||
| 36 | temporal: { |
||
| 37 | formal: '+2015-01-03' |
||
| 38 | }, |
||
| 39 | recordType: 'http://gedcomx.org/Collection' |
||
| 40 | }, coverage = GedcomX.Coverage(data); |
||
| 41 | assert.deepEqual(coverage.toJSON(), data); |
||
| 42 | }); |
||
| 43 | |||
| 44 | }); |